package com.bootdo.core.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;



/**
 * 对战记录
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-09-01 22:05:49
 */
public class GameBoutDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//ID
	private Long id;
	//主方用户id
	private Long masterUserId;
	//客方用户id
	private Long guestUserId;
	//游戏类型
	private GameType gameType;
	//获胜一方
	private Long winUserId;
	//失败一方
	private Long failUserId;
	//求和用户id
	private Long surrenderUserId;
	//是否和局
	private Integer isSurrender;
	//最小积分
	private BigDecimal minIntegral;
	//最大积分
	private BigDecimal maxIntegral;
	//1: 匹配中、 2：放弃匹配、3：匹配成功、 4：匹配失败
	private GameBoutStatus status;
	//开始时间
	private Date startTime;
	//结束时间
	private Date endTime;
	//创建时间
	private Date createTime;
	//更新时间
	private Date updateTime;
	
	// for other colum
	private String gameTypeExplain;
	private String statusExplain;

	/**
	 * 设置：ID
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：ID
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：主方用户id
	 */
	public void setMasterUserId(Long masterUserId) {
		this.masterUserId = masterUserId;
	}
	/**
	 * 获取：主方用户id
	 */
	public Long getMasterUserId() {
		return masterUserId;
	}
	/**
	 * 设置：客方用户id
	 */
	public void setGuestUserId(Long guestUserId) {
		this.guestUserId = guestUserId;
	}
	/**
	 * 获取：客方用户id
	 */
	public Long getGuestUserId() {
		return guestUserId;
	}
	/**
	 * 设置：获胜一方
	 */
	public void setWinUserId(Long winUserId) {
		this.winUserId = winUserId;
	}
	/**
	 * 获取：获胜一方
	 */
	public Long getWinUserId() {
		return winUserId;
	}
	/**
	 * 设置：失败一方
	 */
	public void setFailUserId(Long failUserId) {
		this.failUserId = failUserId;
	}
	/**
	 * 获取：失败一方
	 */
	public Long getFailUserId() {
		return failUserId;
	}
	/**
	 * 设置：求和用户id
	 */
	public void setSurrenderUserId(Long surrenderUserId) {
		this.surrenderUserId = surrenderUserId;
	}
	/**
	 * 获取：求和用户id
	 */
	public Long getSurrenderUserId() {
		return surrenderUserId;
	}
	/**
	 * 设置：是否和局
	 */
	public void setIsSurrender(Integer isSurrender) {
		this.isSurrender = isSurrender;
	}
	/**
	 * 获取：是否和局
	 */
	public Integer getIsSurrender() {
		return isSurrender;
	}
	/**
	 * 设置：最小积分
	 */
	public void setMinIntegral(BigDecimal minIntegral) {
		this.minIntegral = minIntegral;
	}
	/**
	 * 获取：最小积分
	 */
	public BigDecimal getMinIntegral() {
		return minIntegral;
	}
	/**
	 * 设置：最大积分
	 */
	public void setMaxIntegral(BigDecimal maxIntegral) {
		this.maxIntegral = maxIntegral;
	}
	/**
	 * 获取：最大积分
	 */
	public BigDecimal getMaxIntegral() {
		return maxIntegral;
	}
	/**
	 * 设置：开始时间
	 */
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	/**
	 * 获取：开始时间
	 */
	public Date getStartTime() {
		return startTime;
	}
	/**
	 * 设置：结束时间
	 */
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	/**
	 * 获取：结束时间
	 */
	public Date getEndTime() {
		return endTime;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：更新时间
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	/**
	 * 获取：更新时间
	 */
	public Date getUpdateTime() {
		return updateTime;
	}
	public GameType getGameType() {
		return gameType;
	}
	public void setGameType(GameType gameType) {
		this.gameType = gameType;
	}
	public GameBoutStatus getStatus() {
		return status;
	}
	public void setStatus(GameBoutStatus status) {
		this.status = status;
	}
	public String getGameTypeExplain() {
		return gameTypeExplain;
	}
	public void setGameTypeExplain(String gameTypeExplain) {
		this.gameTypeExplain = gameTypeExplain;
	}
	public String getStatusExplain() {
		return statusExplain;
	}
	public void setStatusExplain(String statusExplain) {
		this.statusExplain = statusExplain;
	}
	
}
